import React from "react";
import './Nav.css'
import { NavLink } from "react-router-dom";

export default function Nav() {
	return (
		<div className="nav">
			<NavLink to="/home">首页</NavLink>
			<NavLink to="/ref">ref</NavLink>
			<NavLink to="/hooks">hooks</NavLink>
			<NavLink to="/todolist">todolist</NavLink>
			<NavLink to="/heros">英雄</NavLink>
			<NavLink to="/duanzi">段子</NavLink>
			<NavLink to="/news">新闻</NavLink>
			<NavLink to="/redux">redax</NavLink>
		</div>
	);
}
